<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>好漂酿</title>
		<script type="text/javascript" src="js/jquery-3.0.0.js" ></script>
	</head>
	<body>
		<!--<p>你真漂酿</p>
	<script>
		document.title=$("p").html()
	</script>-->
	<input value="halou" />
	<input type="button"value="按钮" />
	<script>
	$(document).ready(function(){
		$("input:eq(1)").click(function(){
			document.title=$("input:eq(0)").val()
		})
	})
		
	</script>
	</body>
</html>
